package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 换电套餐表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_combo")
@ApiModel(value = "XhCombo对象", description = "换电套餐表")
public class XhCombo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("套餐名称")
    private String comboName;

    @ApiModelProperty("(暂时废弃)使用场景：1.门店2.机柜3.B端客户")
    private Integer usedScene;

    @ApiModelProperty("套餐类型：1换电  2租赁")
    private Integer comboType;

    @ApiModelProperty("有效期(天):30天即月卡；90天即季卡；365天即年卡")
    private Integer indate;

    @ApiModelProperty("次数")
    private Integer times;

    @ApiModelProperty("电池规格信息id")
    private Integer batteryInfoId;

    @ApiModelProperty("售价")
    private BigDecimal price;

    @ApiModelProperty("(暂时废弃)押金")
    private BigDecimal deposit;

    @ApiModelProperty("套餐图片")
    private String imgUrl;

    @ApiModelProperty("套餐说明")
    private String comboDes;

    @ApiModelProperty("是否启用：0.否1.是(默认)")
    private Integer isEnabled;

    @ApiModelProperty("是否删除：0.否(默认)1.是")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

    @ApiModelProperty("创建人ID")
    private Integer creatorId;

    @ApiModelProperty("创建人")
    private String creator;

    @ApiModelProperty("排序号 ")
    private Integer sort;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

}
